package com.jubaopen.dao;

import java.util.List;
import java.util.Map;

import com.jubaopen.bean.AuthInfo;

public interface AuthInfoDAO {
	
	
	public AuthInfo getById(int id);
	
	public AuthInfo getByUserId(int userId);
	
	public AuthInfo getByLoginName(String loginName);
	
	public int add(AuthInfo authInfo);
	
	public int update(AuthInfo authInfo);
	
	public int getCount(Map<String, Object> entry);
	
	public List<AuthInfo> getPagedList(Map<String, Object> entry);
}
